package com.yw.task.dto;

import com.yw.task.domain.Api;
import com.yw.task.domain.Node;
import com.yw.task.domain.TimeProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class AddTaskDTO {
    @Schema(description = "任务分类")
    private Integer taskCategory;


    @Schema(description = "任务名称")
    private String taskName;


    @Schema(description = "任务描述")
    private String taskDescription;


    @Schema(description = "发布状态")
    private String publishStatus;

    @Schema(description = "节点信息（JSON 格式）")
    private List<Node> node;

//    @Schema(description = "定时任务信息（JSON 格式）")
//    private TimeProperties scheduledTask;
//
//    @Schema(description = "API 信息（JSON 格式）")
//    private Api api;
}
